package org.coderjonny.service.fallback.service;

import org.coderjonny.bean.User;
import org.coderjonny.dto.Request;
import org.coderjonny.dto.Result;
import org.coderjonny.dto.user.UserId;
import org.coderjonny.feign.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceFallBack implements UserService {
    @Override
    public Result<User> getByUserId(Request<UserId> request) {
        return Result.error("降级容错UserService");
    }
}
